#ifndef __SEM_HEAD_H
#define __SEM_HEAD_H
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#include <errno.h>
union semun{
	int val;
	struct semid_ds *buf;
	unsigned short *arry;
	struct seminfo *__buf;
};
int sem_init(void);
void sem_p(int semid);
void sem_v(int semid);

#endif
